package com.mlz.mlzmall.bean;

import java.util.List;

/**
 * Created by jack.wang on 2016/1/21.
 * 获取需要评价的商品
 */
public class ResponseNeedReviewGoods {
    public  int status;
    public  Object error;
    public  String msg;
    public List<product> data ;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getError() {
        return error;
    }

    public void setError(Object error) {
        this.error = error;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<product> getData() {
        return data;
    }

    public void setData(List<product> data) {
        this.data = data;
    }

    public static class product{
      public int productId;
      public String name;
      public String model;
      public double refPrice;
      public double price;
      public int orderProductId;
      public String barcode;
      public String serialNumber;
      public String image;
      public String priceType;
      public double taxRate;
      public double tax;
      public int quantity;
      public double total;
      public String outProductId;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public double getRefPrice() {
            return refPrice;
        }

        public void setRefPrice(double refPrice) {
            this.refPrice = refPrice;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public int getOrderProductId() {
            return orderProductId;
        }

        public void setOrderProductId(int orderProductId) {
            this.orderProductId = orderProductId;
        }

        public String getBarcode() {
            return barcode;
        }

        public void setBarcode(String barcode) {
            this.barcode = barcode;
        }

        public String getSerialNumber() {
            return serialNumber;
        }

        public void setSerialNumber(String serialNumber) {
            this.serialNumber = serialNumber;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getPriceType() {
            return priceType;
        }

        public void setPriceType(String priceType) {
            this.priceType = priceType;
        }

        public double getTaxRate() {
            return taxRate;
        }

        public void setTaxRate(double taxRate) {
            this.taxRate = taxRate;
        }

        public double getTax() {
            return tax;
        }

        public void setTax(double tax) {
            this.tax = tax;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public double getTotal() {
            return total;
        }

        public void setTotal(double total) {
            this.total = total;
        }

        public String getOutProductId() {
            return outProductId;
        }

        public void setOutProductId(String outProductId) {
            this.outProductId = outProductId;
        }

        @Override
        public String toString() {
            return "product{" +
                    "productId=" + productId +
                    ", name='" + name + '\'' +
                    ", model='" + model + '\'' +
                    ", refPrice=" + refPrice +
                    ", price=" + price +
                    ", orderProductId=" + orderProductId +
                    ", barcode='" + barcode + '\'' +
                    ", serialNumber='" + serialNumber + '\'' +
                    ", image='" + image + '\'' +
                    ", priceType='" + priceType + '\'' +
                    ", taxRate=" + taxRate +
                    ", tax=" + tax +
                    ", quantity=" + quantity +
                    ", total=" + total +
                    ", outProductId='" + outProductId + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ResponseNeedReviewGoods{" +
                "status=" + status +
                ", error=" + error +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
